package com.activiti.ActivitiUtils.payload;

import java.util.Set;

/**
 * create by chongyahhh
 * 2020/4/4
 */

public class ProcessDefinitionsPayload {
    private String processDefinitionId;
    private String processDefinitionKey;
    private Set<String> processDefinitionKeys;
    private Set<String> processDefinitionIds;

    public ProcessDefinitionsPayload() {
    }

    public ProcessDefinitionsPayload(String processDefinitionId, String processDefinitionKey, Set<String> processDefinitionKeys, Set<String> processDefinitionIds) {
        this.processDefinitionId = processDefinitionId;
        this.processDefinitionKey = processDefinitionKey;
        this.processDefinitionKeys = processDefinitionKeys;
        this.processDefinitionIds = processDefinitionIds;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public Set<String> getProcessDefinitionKeys() {
        return processDefinitionKeys;
    }

    public void setProcessDefinitionKeys(Set<String> processDefinitionKeys) {
        this.processDefinitionKeys = processDefinitionKeys;
    }

    public String getProcessDefinitionKey() {
        return processDefinitionKey;
    }

    public void setProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
    }

    public Set<String> getProcessDefinitionIds() {
        return processDefinitionIds;
    }

    public void setProcessDefinitionIds(Set<String> processDefinitionIds) {
        this.processDefinitionIds = processDefinitionIds;
    }

    public ProcessDefinitionsPayload withProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
        return this;
    }

    public ProcessDefinitionsPayload withProcessDefinitionKeys(Set<String> processDefinitionKeys) {
        this.processDefinitionKeys = processDefinitionKeys;
        return this;
    }

    public ProcessDefinitionsPayload withProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
        return this;
    }

    public ProcessDefinitionsPayload withProcessDefinitionIds(Set<String> processDefinitionIds) {
        this.processDefinitionIds = processDefinitionIds;
        return this;
    }
}
